home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Invisible Universe
/
Invisible Universe (1995)(Voyager)[Mac-PC].iso
/
mac
/
MOVIES
/
FIND.DIR
/
00027_Script_27
< prev
next >
Wrap
Text File
|
1995-11-13
|
801b
|
36 lines
on doSearchCode
global gBaseListFind, gBottomFind, gTopFind, gResList
go to the frame + 2
cursor 4
updateStage
--
--
-- Match the info in cast 6 with gBaseListFind, copy results into cast 5
--
set numLines = the number of lines in field gBaseListFind
set findCount = 0
set results = ""
set gResList = []
set matchText = field 6
repeat with i = 1 to numLines
if line i of field gBaseListFind contains matchText then
set results = results & line i of field gBaseListFind & RETURN
set findCount = findCount + 1
addAt gResList, findCount, item 2 of line i of field (gBaseListFind-1)
end if
end repeat
put results into field 5
cursor -1
go to the frame - 2
end doSearchCode